﻿<ui:View x:Class="CPPEI.Coolzon.UI.Views.AutoPlayView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
         xmlns:ui="clr-namespace:CPPEI.Coolzon.UI;assembly=CPPEI.Coolzon.UI">
    <Grid x:Name="grid" HorizontalAlignment="Center" VerticalAlignment="Center">
        <Grid.Resources>
            <Style TargetType="TextBlock">
                <Setter Property="FontFamily" Value="微软雅黑" />
                <Setter Property="FontSize" Value="26" />
            </Style>
        </Grid.Resources>
        <Grid.ColumnDefinitions>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition></ColumnDefinition>
            <ColumnDefinition Width="0.1*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="60"></RowDefinition>
            <RowDefinition Height="60"></RowDefinition>
            <RowDefinition Height="60"></RowDefinition>
        </Grid.RowDefinitions>

        <Grid x:Name="LoadAnimationContainer" HorizontalAlignment="Center" VerticalAlignment="Center" Height="130" Width="130" Grid.Column="0" Grid.RowSpan="3">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="0.5*"/>
                <ColumnDefinition Width="0.5*"/>
            </Grid.ColumnDefinitions>
            <Grid.Clip>
                <EllipseGeometry RadiusX="65" RadiusY="65" Center="65,65" />
            </Grid.Clip>
            <Ellipse Grid.Column="0" Grid.ColumnSpan="2" Stroke="Turquoise" StrokeThickness="5"/>
            <Grid Grid.Column="0" ClipToBounds="True">
                <Rectangle Name="MaskRight" Fill="White" StrokeThickness="0" RenderTransformOrigin="1,0.5">
                    <Rectangle.RenderTransform>
                        <RotateTransform Angle="0"/>
                    </Rectangle.RenderTransform>
                </Rectangle>
            </Grid>
            <Grid Grid.Column="1" ClipToBounds="True">
                <Rectangle Name="MaskLeft" Fill="White" StrokeThickness="0" RenderTransformOrigin="0,0.5">
                    <Rectangle.RenderTransform>
                        <RotateTransform Angle="0"/>
                    </Rectangle.RenderTransform>
                </Rectangle>
            </Grid>
        </Grid>

        <TextBlock x:Name="tbTime" Grid.Column="0" Grid.RowSpan="3" HorizontalAlignment="Center" VerticalAlignment="Center" Panel.ZIndex="2"/>

        <TextBlock x:Name="tbPlaying" Grid.Column="1" Grid.Row="0" FontSize="22" Foreground="#FF666666" VerticalAlignment="Center"  />
        <StackPanel Grid.Column="1" Grid.Row="1" VerticalAlignment="Center" Orientation="Horizontal">
            <TextBlock Text="下一场景：" FontSize="22" Foreground="#FF222222" ></TextBlock>
            <TextBlock x:Name="tbSceneName" Padding="0,0,4,0" FontSize="22"  Foreground="#FF222222"  />
        </StackPanel>

        <Button BorderThickness="0" Grid.Column="1" Grid.Row="2" HorizontalAlignment="Center" VerticalAlignment="Center" x:Name="btnCancel" Content="取 消" Height="40" FontFamily="微软雅黑" FontSize="26" Background="DarkGray" Click="btnCancel_Click"/>
        <Grid HorizontalAlignment="Center" VerticalAlignment="Top" Height="30" Width="30" Grid.Column="2" Grid.RowSpan="3">
            <Canvas>
                <Button HorizontalAlignment="Left" Height="30" VerticalAlignment="Top" Width="30" Name="_fullScreenImage" Canvas.Left="0" Canvas.Top="15"  Content="全屏" Click="_fullScreenImage_Click">

                </Button>
            </Canvas>
        </Grid>
    </Grid>
</ui:View>
